#ifndef A6_WATCARD_H
#define A6_WATCARD_H

#include <uC++.h>
#include <uFuture.h>
#include "Global.h"

class WATCard 
{
    unsigned int myBalance;
	WATCard( const WATCard & );			// prevent copying
	WATCard &operator=( const WATCard & );
public:
	WATCard();
	void deposit( unsigned int amount );
	void withdraw( unsigned int amount );
	unsigned int getBalance();
};

typedef Future_ISM<WATCard *> FWATCard;		// future WATCard pointer

#endif
